<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/8/8
  Time: 17:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>所有学生</title>
</head>
<body>
    <table width="500px" align="center" border="1" cellpadding="0" cellspacing="0">
        <tr>
            <th>id</th>
            <th>名字</th>
            <th>性别</th>
            <th>地址</th>

        </tr>
        <c:forEach items="${allStudent}" var="student" varStatus="status">
            <tr>
                <td>${status.count}</td>
                <td>${student.studentname}</td>
                <td>${student.sex}</td>
                <td>${student.address}</td>
            </tr>
        </c:forEach>

    </table>
</body>
</html>
